// /school/grades/batch-add
import { axios } from '@/utils/request'
export function gradeList(params) {
    return axios({
        url: '/school/grades',
        method: 'post',
        data: params
    })
}



export function addGrades(params) {
    return axios({
        url: '/school/grades/batch-add',
        method: 'post',
        data: params
    })
}
export function changeGradesType(params, id) {
    return axios({
        url: '/school/grades/' + id + '/enable-status',
        method: 'post',
        data: params
    })
}

export function delGrades(params) {
    return axios({
        url: '/school/grades/batch-delete',
        method: 'post',
        data: params 
    })
}
export function changeGrades(params, id) {
    return axios({
        url: '/school/grades/' + id + '/update',
        method: 'post',
        data: params
    })
}

